import {customeStruct} from '../utils';
const itf = customeStruct.interface;
export const InitData = itf({
    payload: itf({
        brands: [itf({
            id: 'string',
            name: 'string'
        })],
    })
});
export const List = itf({
    payload: itf({
        content: [itf(Object.assign({
            id: 'string',
            manufacturerCode: 'string?|null',
            manufacturerName: 'string?|null',
            productCategoryCode: 'string?|null',
            productCategoryName: 'string?|null',
            remark: 'string?|null',
            areaName: 'string?|null',
            needTransportScanning: 'boolean?|null',
            isOffsiteFactory: 'boolean?|null',
            status: 'number?|null',
            options: ['string']
        }))],
        totalElements: 'number',
    })
});
export const Detail = itf({
    payload: itf(Object.assign({
        id: 'string',
        code: 'string',
        name: 'string',
        address: 'string',
        contactNumber: 'string',
        fax: 'string',
        rowVersion: 'string',
    }))
});
export const ProductCategorys = itf({
    payload: itf({
        content: [itf(Object.assign({
            id: 'string',
            code: 'string?|null',
            name: 'string?|null',
            remark: 'string?|null',
        }))],
    })
});

